/**
 * ClassName: Java01_Object
 * Package: PACKAGE_NAME
 * DESCRIPTION:
 *
 * @Author 程翎钥
 * @Create 2024/3/20 16:19
 * @Version 1.0
 */
public class Java01_Object {
    public static void main(String[] args) {
        Cooking c = new Cooking();
        c.name = "红烧排骨";
        c.tent = "排骨";
        c.exeute();
    }
}
    class Cooking {
        String name;
        String type = "红烧";
        String tent;
        void exeute() {
            System.out.println("start " + name);
            System.out.println("what? ->" + type);
        }
    }

